/**
 * @author Tobias Boehm
 *
 * 01.04.2011
 */
package org.anddev.andengine.extension.tbsengine.gameobject.ability;

import org.anddev.andengine.extension.tbsengine.gameobject.animation.ObjectNESWanimationSet;

/**
 * This is the base class for all types of movement abilities.
 * Notice:<br>
 * You should not extend this class but use the AbilityFactory instead.
 * 
 * @author Tobias Boehm
 *
 */
public class MovementAbility extends AbsAbility implements IActiveAbility {

	public static enum MovementType{ground,air,water,underground,submarine}
	
	private ObjectNESWanimationSet mNESWanimationSet;
	private final int mSteps;
	private final MovementType mMovementType;

	public MovementAbility(final MovementType pMovementType, final int pSteps,
						   final String pName, final String pDescription,
						   final int pIconTileID){
		
		super(pName, pDescription, pIconTileID);
		
		this.mMovementType = pMovementType;
		
		this.mSteps = pSteps;
	}
	
	/**
	 * @param mNESWanimationSet the mNESWanimationSet to set
	 */
	public void setNESWanimationSet(ObjectNESWanimationSet mNESWanimationSet) {
		this.mNESWanimationSet = mNESWanimationSet;
	}

}
